# Network Configuration Quectel Pi M1 Weston 桌面环境支持通过以太网和无线网络进行网络连接。 系统网络管理主要通过 NetworkManager 服务完成,用户可以使用命令行工具 nmcli 对网络进行配置和状态查询。 支持的网络接口包括: - **RJ45 以太网接口** - **WiFi 无线网络接口** # 网络接口 ```{image} images/image_AWNmbeQmIoEFFCxIcm3cUscMnjd.webp :width: 810px :height: 365px :align: center ``` # Ethernet Configuration ## Hardware Connection The Quectel Pi M1 provides an onboard RJ45 Ethernet interface. An example connection is shown below: ```{image} images/image_BOwTbHcfXo4srWxhA7rcSnTXnGb.webp :width: 3652px :height: 1839px :align: center ``` ## View Network Interfaces After entering the Weston desktop, click the square icon in the upper-left corner to open the Wayland Terminal, and then check the current system network interfaces: ```plaintext ip addr ``` ```{image} images/image_Gy1LbmN8qoJdDGxJqUSca8Rknkc.webp :width: 1671px :height: 887px :align: center ``` ## Obtain the IP Address Check the current IP address: ```plaintext ip addr show eth0 ``` ```{image} images/image_SUvxbM1yfozLCzxYSsucVBvwnJf.webp :width: 1956px :height: 372px :align: center ``` # Wireless Network Configuration ## View Wireless Devices ```plaintext nmcli device ``` ```{image} images/image_P4p1bT3mVok7hxxjRz9cUYUznec.webp :width: 1404px :height: 1120px :align: center ``` ## Scan for Wi-Fi Networks ```plaintext nmcli device wifi list ``` ```{image} images/image_NlA8bxgNHoytiRxCPJlcvg4Cn4d.webp :width: 1695px :height: 928px :align: center ``` ## Connect to Wi-Fi ```plaintext nmcli device wifi connect password ``` Example: ```plaintext nmcli device wifi connect Quectel password 12345678 ``` ## Check Wi-Fi Connection Status ```plaintext nmcli device status ``` ```{image} images/image_GBQjbEkx9oiRHuxUH66clffmnBb.webp :width: 1566px :height: 1004px :align: center ``` The result shows that wlan0 is in the connected state, indicating that the device has successfully connected to the Quectel Wi-Fi network. # USB Network To use a USB network connection, prepare a USB Ethernet adapter. Connect the adapter to the device, and then connect an Ethernet cable to the adapter's RJ45 port. For subsequent configuration, refer to the Ethernet configuration described above.